<fieldset>
  <legend>{{ 'admin.payment_setting.llpay'|trans }}</legend>
  <div class="form-group">
    <div class="col-md-3 control-label">
      <label>{{ 'admin.payment_setting.api_status'|trans }}</label>
    </div>
    <div class="controls col-md-3 radios">
      {{ radios('llpay_enabled', {1:'form.radio_btn.open'|trans, 0:'form.radio_btn.close'|trans}, payment.llpay_enabled) }}
    </div>
  </div>

  <div data-sub="llpay" {% if not payment.llpay_enabled %} class="hidden" {% endif %}>
    <div class="form-group" style="margin-top: -15px;">
      <div class="col-md-3 help-block">
      </div>
      <div class="col-md-9 help-block">
        <div class="alert alert-info text-left" role="alert">
          {{ 'admin.payment_setting.llpay_application_tips'|trans({'%qiqiuyuUrl%': 'http://www.qiqiuyu.com/article/894'})|raw }}
        </div>
      </div>
    </div>

    <div class="form-group">
      <div class="col-md-3 control-label">
        <label for="llpay_key">{{ 'admin.payment_setting.llpay_key'|trans }}</label>
      </div>
      <div class="controls col-md-8">
        <input type="text" id="llpay_key" name="llpay_key" class="form-control" value="{{payment.llpay_key}}">
      </div>
    </div>
    <div class="form-group">
      <div class="col-md-3 control-label">
        <label for="llpay_accessKey">{{ 'admin.payment_setting.llpay_public_key'|trans }}</label>
      </div>
      <div class="controls col-md-8">
        <textarea name="llpay_accessKey" id="llpay_accessKey" rows="5" class="form-control">{{payment.llpay_accessKey}}</textarea>
      </div>
    </div>
    <div class="form-group">
      <div class="col-md-3 control-label">
        <label for="llpay_secretKey">{{ 'admin.payment_setting.llpay_private_key'|trans }}</label>
      </div>
      <div class="controls col-md-8">
        <textarea name="llpay_secretKey" id="llpay_secretKey" rows="5" class="form-control">{{payment.llpay_secretKey}}</textarea>
      </div>
    </div>
  </div>
</fieldset>